package com.rrx.mapper;

import com.rrx.model.Address;
import com.rrx.model.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.ArrayList;

/**
 * Created by Administrator on 2018/8/15.
 */
@Mapper
public interface UserMapper_fy {
    /*查询*/
    @Select("select * from users where openid=#{openid}")
    public  ArrayList<Users> seeALL(@Param("openidid") String openid);


    /*修改*/
    @Update("update Users Set phone=#{phone}")
    public Integer reviseusers(@Param("phone") String phone);

}
